#ifndef __CONNECTIONHANDLERRELAY_HPP__
#define __CONNECTIONHANDLERRELAY_HPP__

#include "ConnectionHandler.hpp"
#include "SSLWrapper.hpp"

class ConnectionHandlerRelay : public ConnectionHandler
{
	private:
		SSL_CTX *globalContext;
		const IP &relayHost;
		unsigned int relayPort;
		unsigned int counter;

	public:
		ConnectionHandlerRelay(SSL_CTX *globalcontext, const IP &relayhost, unsigned int relayport, unsigned int counter);
		void handle();
		virtual ~ConnectionHandlerRelay();
};
#endif

